home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Sample Code / Networking / OTSimpleServerHTTP1.2d2 / OTSimpleServerHTTP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-25  |  941 b   |  33 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        OTSimpleServerHTTP.h
  3.  
  4.     Contains:    Interface to the simple HTTP server sample.
  5.  
  6.     Written by:    Quinn "The Eskimo!"
  7.  
  8.     Copyright:    © 1997 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.     You may incorporate this sample code into your applications without
  13.     restriction, though the sample code has been provided "AS IS" and the
  14.     responsibility for its operation is 100% yours.  However, what you are
  15.     not permitted to do is to redistribute the source as "DSC Sample Code"
  16.     after having made changes. If you're going to re-distribute the source,
  17.     we require that you make it clear in the source that the code was
  18.     descended from Apple Sample Code, but that you've made changes.
  19. */
  20.  
  21. #include <Types.h>
  22.  
  23. #ifndef __OTSIMPLESERVERHTTP__
  24. #define __OTSIMPLESERVERHTTP__
  25.  
  26. // See comments in implementation.
  27.  
  28. extern Boolean gQuitNow;
  29.  
  30. OSStatus RunHTTPServer(InetHost ipAddr, short vRefNum, long dirID);
  31.  
  32. #endif
  33.